package com.vichat.user.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2019-02-28 17:00:24.352
 */
@Entity
@Table(name = "i18n_mapping",catalog = "userdb")
public class I18nMapping implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "i18n_mapping";

    /** */
	public static final String ALIAS_MAP_ID = "MAP_ID";
    /**编号 */
	public static final String ALIAS_MAP_CODE = "MAP_CODE";
    /**值 */
	public static final String ALIAS_MAP_VALUE = "MAP_VALUE";
    /** */
	public static final String ALIAS_STATE = "STATE";
    /** */
	public static final String ALIAS_CREATE_DATE = "CREATE_DATE";
    /** */
	public static final String ALIAS_MAP_EN = "MAP_EN";
    /** */
	public static final String ALIAS_MAP_CN = "MAP_CN";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "MAP_ID", unique = true, nullable = false)
    public java.lang.Long mapId;
  
 	@Column(name = "MAP_CODE")
    public java.lang.String mapCode;
  
 	@Column(name = "MAP_VALUE")
    public java.lang.String mapValue;
  
 	@Column(name = "STATE")
    public java.lang.Long state;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_DATE")
    public java.util.Date createDate;
  
 	@Column(name = "MAP_EN")
    public java.lang.String mapEn;
  
 	@Column(name = "MAP_CN")
    public java.lang.String mapCn;
  





	public java.lang.Long getMapId() {
		return this.mapId;
	}
	
	public void setMapId(java.lang.Long value) {
		this.mapId = value;
	}

	public java.lang.String getMapCode() {
		return this.mapCode;
	}
	
	public void setMapCode(java.lang.String value) {
		this.mapCode = value;
	}

	public java.lang.String getMapValue() {
		return this.mapValue;
	}
	
	public void setMapValue(java.lang.String value) {
		this.mapValue = value;
	}

	public java.lang.Long getState() {
		return this.state;
	}
	
	public void setState(java.lang.Long value) {
		this.state = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public java.lang.String getMapEn() {
		return this.mapEn;
	}
	
	public void setMapEn(java.lang.String value) {
		this.mapEn = value;
	}

	public java.lang.String getMapCn() {
		return this.mapCn;
	}
	
	public void setMapCn(java.lang.String value) {
		this.mapCn = value;
	}


	
	public I18nMapping() {
	}
	
	public I18nMapping(boolean qryflag) {
	    if(qryflag){
	    		this.mapId = null;
				this.mapCode = null;
				this.mapValue = null;
				this.state = null;
				this.createDate = null;
				this.mapEn = null;
				this.mapCn = null;
			    }
	}


	public I18nMapping(
	    java.lang.Long inMapId,
	    java.lang.String inMapCode,
	    java.lang.String inMapValue,
	    java.lang.Long inState,
	    java.util.Date inCreateDate,
	    java.lang.String inMapEn,
		java.lang.String inMapCn
	 ) {
		super();
				this.mapId = inMapId;
				this.mapCode = inMapCode;
				this.mapValue = inMapValue;
				this.state = inState;
				this.createDate = inCreateDate;
				this.mapEn = inMapEn;
				this.mapCn = inMapCn;
			}





}

